package com.zheng.draft.dao.mapper;

import com.zheng.draft.dao.model.DraftInfo;
import com.zheng.draft.dao.model.DraftInfoExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface DraftInfoMapper {
    long countByExample(DraftInfoExample example);

    int deleteByExample(DraftInfoExample example);

    int deleteByPrimaryKey(Integer draftId);

    int insert(DraftInfo record);

    int insertSelective(DraftInfo record);

    List<DraftInfo> selectByExample(DraftInfoExample example);

    DraftInfo selectByPrimaryKey(Integer draftId);

    int updateByExampleSelective(@Param("record") DraftInfo record, @Param("example") DraftInfoExample example);

    int updateByExample(@Param("record") DraftInfo record, @Param("example") DraftInfoExample example);

    int updateByPrimaryKeySelective(DraftInfo record);

    int updateByPrimaryKey(DraftInfo record);
}